UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Permissions on user . (hidden) files must be 750 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-216419 SOL-11.1-070030 SV-216419r959010_rule Medium
Description
Group-writable or world-writable user configuration files may enable malicious users to steal or modify other users' data or to gain another user's system privileges.
STIG Date
Solaris 11 SPARC Security Technical Implementation Guide 2024-05-30

Details

Check Text ( C-17655r793025_chk )
The root role is required.

Ensure that the permissions on user "." files are 750 or less permissive.

# for dir in \
`logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do
find ${dir}/.[A-Za-z0-9]* \! -type l \
\( -perm -0001 -o -perm -0002 -o -perm -0004 -o -perm -0020 \) -ls
done

If output is produced, this is a finding.
Fix Text (F-17653r371346_fix)
The root role is required.

Change the permissions on users' "." files to 750 or less permissive.

# chmod 750 [file name]